package com.cabal.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cabal.common.constants.SystemConstants;
import com.cabal.config.DS;
import com.cabal.mall.entity.CabalMallCoinLog;
import com.cabal.mall.entity.CabalMallSellItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CabalMallSellItemMapper extends BaseMapper<CabalMallSellItem> {

    @DS(value = SystemConstants.DS_KEY_CABALMALL)
    CabalMallSellItem getCabalMallSellItemById(@Param("itemIdx") Integer itemIdx, @Param("itemOpt") Integer itemOpt, @Param("category") Integer category);

}
